<?php
/*
Template Name: Archives-Page
*/
?>


<?php get_header(); ?>

<div id="content">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
	<div class="post" id="post-<?php the_ID(); ?>">
		<div class="title">
			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

		</div>
		<div class="entry">


<h3>Monthly Archives</h3><ul><?php wp_get_archives('type=monthly') ?></ul>
<h3>Category Archives</h3><ul><?php wp_list_cats('sort_column=name&optioncount=1&feed=RSS') ?></ul>
<h3>Fresh Archives [last 100]</h3><ul><?php get_archives('postbypost', 100); ?></ul>


		</div>
	</div>
<?php endwhile; else: ?>
	<div class="post">
		<div class="title">
			<h2>No Page Found</h2>
		</div>
		<div class="entry">
			<p>Sorry, but you are looking for an archive that isn't here.</p>
		</div>
	</div>
<?php endif; ?>
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>